<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ContractBreak extends Model
{
    use HasFactory;

    public $table = 'contract_break';

    public $guarded = [];

    public $casts = [
       'balance' => 'json'
    ];

    public function contract()
    {
        return $this->belongsTo(Contract::class);
    }
}
